package com.Jano.service;

import com.Jano.entity.Reply;
import com.Jano.mapper.ReplyMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;
import java.util.List;

/**
 * description: ReplyService <br>
 * date: 2022/7/12 5:12 PM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */

public interface ReplyService {
    /**
     * 根据论贴查找评论
     * @param invitationId
     * @return
     */
    List<Reply> findReplyByInvitationId(Integer invitationId);

    /**
     * 增加评论
     * @param invitationId
     * @param content
     * @param author
     * @return
     */
    Boolean addReply(Integer invitationId, String content, String author);

}
